package com.tarena.lbs.mapper;

import com.tarena.lbs.dto.UserGroupQuery;
import com.tarena.lbs.entity.UserGroup;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserGroupMapper {
    void save(UserGroup userGroup);

    void update(UserGroup userGroup);

    List<UserGroup> select(UserGroupQuery userGroupQuery);

    void delete(Long id);
}
